home *** CD-ROM | disk | FTP | other *** search
/ Total Network Tools 2002 / NextStepPublishing-TotalNetworkTools2002-Win95.iso / Archive / Misc Servers / Zope.exe / ADDZCLASS.DTML < prev    next >
Encoding:
Text File  |  2000-06-20  |  3.1 KB  |  126 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
  2. <HTML lang="en">
  3. <HEAD>
  4. <TITLE>Add ZClass</TITLE>
  5. </HEAD>
  6. <BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
  7. <H2>Add ZClass</H2>
  8.  
  9. <dtml-var "HelpSys.HelpButton('ZClass_Add.stx','OFSP')">
  10.  
  11. <dtml-with "_(selected=[], unselected=[], baseclasses=[], id='', title='',
  12.              meta_type='',
  13.              all=manage_subclassableClassNames(),
  14.              )">
  15. <dtml-with REQUEST>
  16. <dtml-with "_(
  17.     selected=_.reorder(
  18.        all,
  19.        with   = baseclasses+
  20.                 (REQUEST.get('manage_addZClassForm','')=='    -> '
  21.                  and unselected or []),
  22.        without= (REQUEST.get('manage_addZClassForm','')==' <-    ' 
  23.                  and   selected or [])
  24.        ),
  25.     )">
  26. <dtml-with "_(unselected=_.reorder(all, without=selected))">
  27.  
  28. <FORM ACTION="." METHOD="GET">
  29.  
  30. <TABLE>
  31. <TR>
  32.   <TH ALIGN="LEFT" VALIGN="TOP">Id</TH>
  33.   <TD ALIGN="LEFT" VALIGN="TOP">
  34.     <INPUT TYPE="TEXT" NAME="id" SIZE="40" VALUE="<dtml-var id html_quote>">
  35.   </TD>
  36. </TR>
  37. <TR>
  38.   <TH ALIGN="LEFT" VALIGN="TOP"><EM>Title</EM></TH>
  39.   <TD ALIGN="LEFT" VALIGN="TOP">
  40.     <INPUT TYPE="TEXT" NAME="title" SIZE="40" VALUE="<dtml-var title html_quote>">
  41.   </TD>
  42. </TR>
  43.  
  44. <TR>
  45.   <TH ALIGN="LEFT" VALIGN="TOP">Meta type</TH>
  46.   <TD ALIGN="LEFT" VALIGN="TOP">
  47.     <INPUT TYPE="TEXT" NAME="meta_type" SIZE="40" 
  48.        VALUE="<dtml-var meta_type html_quote>">
  49.   </TD>
  50. </TR>
  51. <TR>
  52.   <TD ALIGN="LEFT" VALIGN="TOP" COLSPAN="2">
  53.     <INPUT TYPE="CHECKBOX" NAME="CreateAFactory:int" VALUE="1"
  54.     <dtml-if CreateAFactory>CHECKED</dtml-if>>
  55.     <STRONG>Create constructor objects?</STRONG>
  56.   </TD>
  57. </TR> 
  58. </table>
  59. <p><strong>Base classes:</strong>
  60.  
  61. <table>
  62. <TR>
  63.   <TD ALIGN="LEFT" VALIGN="TOP">
  64.      Unselected:<BR>
  65.      <SELECT NAME="unselected:list" size=9 multiple>
  66.        <dtml-in unselected>
  67.          <OPTION VALUE="<dtml-var sequence-key html_quote>"
  68.      ><dtml-var sequence-item></OPTION>
  69.        </dtml-in>
  70.      </SELECT>
  71.   </TD>
  72.   <TD ALIGN="LEFT" VALIGN="MIDDLE">
  73.      <dtml-in selected>
  74.         <input type=hidden name="baseclasses:list"
  75.            value="<dtml-var sequence-key html_quote>"><br>
  76.      </dtml-in>
  77.      <INPUT TYPE="SUBMIT" NAME="manage_addZClassForm:method" 
  78.             VALUE="    -> ">
  79.      <BR>
  80.      <INPUT TYPE="SUBMIT" NAME="manage_addZClassForm:method" 
  81.             VALUE=" <-    ">
  82.   </TD>
  83.   <TD ALIGN="LEFT" VALIGN="TOP">
  84.      Selected:<br>
  85.      <SELECT NAME="selected:list" size=9 multiple>
  86.        <dtml-in selected>
  87.          <OPTION VALUE="<dtml-var sequence-key html_quote>"
  88.          ><dtml-var sequence-item></OPTION>
  89.        </dtml-in>
  90.      </SELECT>
  91.   </TD>
  92. </TR>
  93. </table>
  94.  
  95. <INPUT TYPE="CHECKBOX" NAME="zope_object:int" VALUE="1"
  96.     <!--#if zope_object-->CHECKED<!--#/if-->>
  97.     <STRONG>Include standard Zope persistent object base classes?</STRONG>
  98. </p>
  99. <INPUT TYPE="SUBMIT" NAME="manage_addZClass:method" 
  100.          VALUE=" Add ">
  101.  
  102. </FORM>
  103.  
  104. </dtml-with>
  105. </dtml-with>
  106. </dtml-with>
  107. </dtml-with>
  108.  
  109. </BODY></HTML>
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.